<%@page import="cn.jussi.model.User"%>
<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>

	<!-- javabean 在jsp中的应用，但现在基本不这样使用了 -->
	
	<jsp:useBean id="user" class="cn.jussi.model.User" scope="page"></jsp:useBean>
	
	<jsp:setProperty property="username" value="admin" name="user"/>
	
	<jsp:getProperty property="username" name="user"/><br>
	
	<%=user %>
</body>
</html>